package com.qcl.bean;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * @Description: 点餐记录
 * @Author: jeecg-boot
 * @Date:   2020-08-14
 * @Version: V1.0
 */
@Data
@Entity
@EntityListeners(AuditingEntityListener.class)
//@TableName("order_logs")
//@ApiModel(value="order_logs对象", description="点餐记录")
public class OrderLogs implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@Id
	@GeneratedValue
	private Integer id;
	/**创建人*/
	private String createBy;

	/**创建日期*/

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@CreatedDate//自动添加创建时间的注解
	private Date createTime;

	/**更新人*/
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@LastModifiedDate//自动添加更新时间的注解
	private Date updateTime;
	/**所属部门*/
	private java.lang.String sysOrgCode;
	/**父级节点*/
//	@Excel(name = "父级节点", width = 15)
//	@ApiModelProperty(value = "父级节点")
	private java.lang.String pid;
	/**是否有子节点*/
//	@Excel(name = "是否有子节点", width = 15, dicCode = "yn")
//	@Dict(dicCode = "yn")
//	@ApiModelProperty(value = "是否有子节点")
	private java.lang.String hasChild;
	/**办公区域*/
//	@Excel(name = "办公区域", width = 15)
//	@ApiModelProperty(value = "办公区域")
	private java.lang.String officeBuilding;
	/**楼层*/
//	@Excel(name = "楼层", width = 15)
//	@ApiModelProperty(value = "楼层")
	private java.lang.String floorNumber;
	/**房间*/
//	@Excel(name = "房间", width = 15)
//	@ApiModelProperty(value = "房间")
	private java.lang.String roomNumber;
	/**菜品*/
//	@Excel(name = "菜品", width = 15)
//	@ApiModelProperty(value = "菜品")
	private java.lang.String cuisineMenu;
	/**点菜数量*/
//	@Excel(name = "点菜数量", width = 15)
//	@ApiModelProperty(value = "点菜数量")
	private java.lang.Integer cuisineNum;
	/**订餐人电话*/
//	@Excel(name = "订餐人电话", width = 15)
//	@ApiModelProperty(value = "订餐人电话")
	private java.lang.String phoneNum;

	private java.lang.String money;
	//判断是否统计给财务，0为未统计，1为统计了，不再统计
	private java.lang.Integer status;
	private java.lang.String price;
}
